<%@ page language="java" contentType="text/html; charset=UTF-8" isErrorPage="true" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="pagePath" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="${pagePath}/page/static/css/reset.css">
<link rel="stylesheet" type="text/css" href="${pagePath}/page/static/css/main.css">
<title>校园二手交易网-登录</title>
</head>
<body>
	<div class="login_top clearfix">
		<a href="${pagePath}/index.do" class="login_logo"><img src="${pagePath}/page/static/images/logo.png"></a>
	</div>
	<div class="login_form_bg">
		<div class="login_form_wrap clearfix">
			<div class="login_banner fl"></div>
			<div class="slogan fl">精选商品 · 优质服务</div>
			<div class="login_form fr">
				<div class="login_title clearfix">
					<h1>学生登录</h1>
					<a href="${pagePath}/register.do">立即注册</a>
				</div>
				<div class="form_input">
					<form action="${pagePath}/login.do" method="post">
						<input type="text" class="name_input" name="username" value="${username}" placeholder="请输入学号" required="required">
						<div class="user_error">输入错误</div>
						<input type="password" class="pass_input" name="password" placeholder="请输入密码" required="required">
						<div class="pwd_error">输入错误</div>
						<div class="more_input clearfix">
							<label style="color: red;">${message}</label> <a href="javascript:alert('请联系管理员');">忘记密码</a>
						</div>
						<input type="submit" class="input_submit" value="登录">
					</form>
				</div>
			</div>
		</div>
	</div>
	<div class="footer no-mp">
		<div class="foot_link">
			<a href="javascript:;">关于我们</a> <span>|</span> <a href="javascript:;">联系我们</a> <span>|</span> <a href="javascript:;">意见反馈</a> <span>|</span> <a href="${pagePath}/admin_login.do">管理平台</a>
		</div>
	</div>
</body>
</html>